CC=gcc

all:server client

server:server.o
	$(CC) $< -o $@  -lsqlite3
	rm $^

client:client.o
	$(CC) $< -o $@
	rm $^

%.o:%.c
	$(CC) -c $< -o $@

clean:
	rm server client
